<script setup lang="ts">
import { ref } from 'vue'

const options = ref([
  { label: '男', value: 1 },
  { label: '女', value: 0 }
])
const gender = ref(0)
</script>

<template>
  <div class="playground-page">
    <h1>playground</h1>
    <!-- <cp-radio-btn
      :options="options"
      @update:modelValue="gender = $event as number"
      :modelValue="gender"
    ></cp-radio-btn> -->
    <cp-radio-btn :options="options" v-model="gender"></cp-radio-btn>
  </div>
</template>

<style scoped lang="scss"></style>
